<html lang="en">
<head>
    <meta charset="UTF-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <title>Document</title>
    <script src="https://unpkg.com/react@16/umd/react.development.js"></script>
    <script src="https://unpkg.com/react-dom@16/umd/react-dom.development.js"></script>
    <script src="https://cdn.staticfile.org/babel-standalone/6.26.0/babel.min.js"></script>

    <!-- <script src="node_modules/react/umd/react.development.js"></script>
    <script src="node_modules/react-dom/umd/react-dom.development.js"></script> -->
    <script></script>
</head>
<body>
<div id="app"></div>
<script type="text/babel">
    //   //es 5写法
    //     var hw = React.createElement("h1", {}, "hello world");
    //     ReactDOM.render(hw, document.getElementById("app"));

    //es6
    ReactDOM.render(<h1>hello,world</h1>, document.getElementById("app"));
</script>
</body>
</html>
